QT4_AUTOMOC(main.cpp NewParameters.cpp MultiLayer.cpp EnergySimul.cpp PhDSave.cpp Output.cpp PhDSimul.cpp PulseDelaySave.cpp MatrixSave.cpp ICritvsLengthSave.cpp CurvePlot.cpp MainWindow.cpp SimulationWindow.cpp SampleWindow.cpp CurrentWindow.cpp FieldWindow.cpp ProgressWindow.cpp)
QT4_WRAP_CPP(HEADERS_MOC MainWindow.h CurrentWindow.h FieldWindow.h SampleWindow.h PlotWindow.h OutputWindow.h SimulationWindow.h ProgressWindow.h)
INCLUDE(${QT_USE_FILE})
ADD_DEFINITIONS(${QT_DEFINITIONS})
ADD_EXECUTABLE(main main.cpp Constants.cpp Clock.cpp Output.cpp Polarization.cpp
Vector3.cpp AppliedFieldVector3.cpp AniVector3.cpp MutualDemagVector3.cpp ExchangeVector3.cpp DemagVector3.cpp
Torque.cpp AloneTorque.cpp SpinTorque.cpp OtherTorque.cpp TotalTorque.cpp
Pulse.cpp NoPulse.cpp SquarePulse.cpp DoubleSquarePulse.cpp
NewParameters.cpp OneLayerRungeKutta.cpp TwoLayerRungeKutta.cpp
MultiLayer.cpp CreateLayer.cpp Layer.cpp
Algo.cpp EvolveAlgo.cpp ICritvsLengthDiffHAlgo.cpp ICritvsLengthAlgo.cpp ICritAlgo.cpp
Simul.cpp TrajSimul.cpp AstroidSimul.cpp EnergySimul.cpp SecondPulseSimul.cpp TrajMeanSimul.cpp LoopSimul.cpp PhDSimul.cpp PulseDelaySimul.cpp
PhDMeanSimul.cpp CurrentvsLengthSimul.cpp
Position.cpp InitialPosition.cpp FinalPosition.cpp
Save.cpp PhDSave.cpp AstroidSave.cpp TrajSave.cpp LoopSave.cpp PulseDelaySave.cpp MatrixSave.cpp ICritvsLengthSave.cpp
Check.cpp LimTorqueCheck.cpp SwitchingCheck.cpp
Plot.cpp CurvePlot.cpp
Window.cpp MainWindow.cpp SimulationWindow.cpp SampleWindow.cpp CurrentWindow.cpp FieldWindow.cpp PlotWindow.cpp OutputWindow.cpp ProgressWindow.cpp
CurvePlot.cpp
${HEADERS_MOC})
TARGET_LINK_LIBRARIES(main ${GSL_LIBRARIES} ${QT_LIBRARIES} ${QWT_LIBRARY})
